package com.qijian.maindata.domain.query;


import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 检验项-新对象 查询条件类
 *
 * @author qijian
 * @date 2024-02-02
 */

@Data
@ToString
@TableName("main_inspection_item")
public class InspectionItemQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "examine_code",type = WhereTypeEnum.LIKE)
    private String code;
    @WhereType(filed = "examine_name",type = WhereTypeEnum.LIKE)
    private String name;
    @WhereType(filed = "examine_standard",type = WhereTypeEnum.LIKE)
    private String examineStandard;
    @WhereType(filed = "examine_value")
    private String examineValue;
    @WhereType(filed = "examine_unit")
    private String examineUnit;
    @WhereType(filed = "is_must")
    private Boolean isMust;
    @WhereType(filed = "examine_tool",type = WhereTypeEnum.LIKE)
    private String examineTool;

    @WhereType(fields={"examine_name","examine_code"},type = WhereTypeEnum.LIKE)
    private String condition;



}
